﻿using PersistentObject.Common.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace PersistentObject.Common.Criteria
{
    /// <summary>
    /// Represent a property operand
    /// </summary>
    public class OperandProperty : Operand
    {
        /// <summary>
        /// The constructor of property operand
        /// </summary>
        /// <param name="propertyName">Indicate the property name of mapping type</param>
        public OperandProperty(string propertyName)
        {
            PropertyName = propertyName;
        }

        /// <summary>
        /// Indicate the property name of mapping type
        /// </summary>
        public string PropertyName { get; private set; }
    }
}
